package com.dup.jxlh.admin.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dup.jxlh.api.entities.PaginationData;

import java.math.BigInteger;

public interface OwnValidatorService {
    Boolean byCompanyIdValidator(BigInteger id);

    Boolean byLevelValidator(BigInteger id1, BigInteger id2, BigInteger id3);

    Boolean byLevelValidator(BigInteger id1, BigInteger id2, BigInteger id3, BigInteger id4);

    void setQueryWrapper(QueryWrapper queryWrapper, PaginationData paginationData);

    void setQueryWrapperByCompany(QueryWrapper queryWrapper, PaginationData paginationData);

    void setQueryWrapperByLevel(QueryWrapper queryWrapper, PaginationData paginationData);

    void setChapterQueryWrapperByLevel(QueryWrapper queryWrapper, PaginationData paginationData);
}
